package com.slaoren.mvvmexamp.vm

import androidx.databinding.ObservableField
import androidx.lifecycle.ViewModel


class DemoViewModel: ViewModel() {

    var time = ObservableField("点击获取时间")
    fun clickTime(){
        time.set(System.currentTimeMillis().toString())
    }

}